Setting Up Samba Shares
- Setting up a SMB/Samba Share on Windows
- Nextcloud Setting up SMB/Samba Share
Setting up a SMB/Samba Share on Windows
NOTE YOU WILL NEED A LOCAL WINDOWS USER THIS WILL NOT WORK WITH A EMAIL LOGIN TO WINDOWS
HERES A TUTORIAL IF YOU WANT
How to Change Windows Email to Local User
- Go to this PC and right click the drive you want and select Properties
- Go to the sharing tab and click share
- Then click on advanced sharing
- Name the Share whatever you would like it to be
-
Click on permission and add a couple of users to this share
-
Add Network Service, Local Service, Guests
- To do this click Add and select the advanced on the bottom
- Click Find Now
- Select the 3 accounts from step 6 and add them to your permissions
- Then Click Ok
- Then Click Allow all on the 3 added account permissions
- Test to see if it works grab another windows PC or on your phone through a Samba client and type your internal ip of your samba share pc
my internal ip of my pc is 192.168.1.111
so i type into my folder search bar \\192.168.1.111
if you see your share your all set.
Nextcloud Setting up SMB/Samba Share
- Login in as Adminstrator
- Click on Apps
- Enable External Storage and SMB Connection Test
- Go into your docker-desktop and click on your nextcloud container and select the three dots where your nextcloud instance is shown and select terminal
- Run the Following commands in terminal
apt update
apt upgrade
apt install nano
apt install smbclient
apt install smbclient libsmbclient-dev
-
Click on Administrative Settings
-
Under Adminstration select smb test
-
Type like below
Hostname: 192.168.1.111 (THIS WILL BE YOUR INTERNAL PC's IP) User: DemonWarrior (THIS WILL BE YOUR WINDOWS LOCAL USER) Workgroup: Workgroup Password: @@@@@@@ (THIS WILL BE YOUR WINDOWS LOCAL USER PASSWORD) Share: Jellyfin-Media (THIS WILL BE WHAT YOU NAMED YOUR SAMBA SHARE IN STEP 4 OF CREATING YOUR SAMBA SHARE)
- Once you have succesfully loaded your Samba Test go to Adminstration ---> External Storage
Copy the settings from your Samba test to your external storage it should read.